package com.yc.hotel.vo;

public class LayuiVO {

	private Integer code = 0;//如果有数据要显示 code值必须为0
	private String msg = "";
	private Object data;
	private Integer count; //总记录数
	@Override
	public String toString() {
		return "LayUIVO [code=" + code + ", msg=" + msg + ", data=" + data + ", count=" + count + "]";
	}
	
	public LayuiVO() {
		super();
	}
	public LayuiVO(Object data) {
		super();
		this.data = data;
	}
	public LayuiVO(Object data, Integer count) {
		super();
		this.data = data;
		this.count = count;
	}
	public LayuiVO(Integer code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}
	public LayuiVO(Integer code, String msg, Object data) {
		super();
		this.code = code;
		this.msg = msg;
		this.data = data;
	}
	public LayuiVO(Integer code, String msg, Object data, Integer count) {
		super();
		this.code = code;
		this.msg = msg;
		this.data = data;
		this.count = count;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}


}
